package com.cskaoyan.catmall.dao;

import com.cskaoyan.catmall.model.vo.WxOrderDetailVo;
import com.cskaoyan.catmall.model.vo.WxOrderGoods;
import com.cskaoyan.catmall.model.vo.WxOrderInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderMapper {
    void updateOrderStatus(Integer orderId);

    void updateOrderRefund(Integer orderId);

    void updateOrderConfirm(Integer orderId);

    List<WxOrderDetailVo> selectOrderList(Integer showType);

    WxOrderInfo selectOrderInfo(Integer orderId);

    List<WxOrderGoods> selectOrderGoods(Integer orderId);

    void deleteOrderById(Integer orderId);

    void updateOrderGoodsComment(@Param("orderId") Integer orderId, @Param("i") Integer i);
}
